<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::Grabber类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_grabber.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1_grabber-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::Grabber类 参考<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p><a class="el" href="classpcl_1_1_grabber.html" title="Grabber interface for PCL 1.x device drivers">Grabber</a> interface for PCL 1.x device drivers  
 <a href="classpcl_1_1_grabber.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="grabber_8h_source.html">grabber.h</a>&gt;</code></p>
<div class="dynheader">
类 pcl::Grabber 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classpcl_1_1_grabber.png" usemap="#pcl::Grabber_map" alt=""/>
  <map id="pcl::Grabber_map" name="pcl::Grabber_map">
<area href="classpcl_1_1_david_s_d_k_grabber.html" title="Grabber for davidSDK structured light compliant devices. The davidSDK SDK allows to use a structured ..." alt="pcl::DavidSDKGrabber" shape="rect" coords="160,56,310,80"/>
<area href="classpcl_1_1_depth_sense_grabber.html" alt="pcl::DepthSenseGrabber" shape="rect" coords="160,112,310,136"/>
<area href="classpcl_1_1_dinast_grabber.html" title="Grabber for DINAST devices (i.e., IPA-1002, IPA-1110, IPA-2001)" alt="pcl::DinastGrabber" shape="rect" coords="160,168,310,192"/>
<area href="classpcl_1_1_ensenso_grabber.html" title="Grabber for IDS-Imaging Ensenso&#39;s devices. The Ensenso SDK allow to use multiple Ensenso devices to p..." alt="pcl::EnsensoGrabber" shape="rect" coords="160,224,310,248"/>
<area href="classpcl_1_1_h_d_l_grabber.html" title="Grabber for the Velodyne High-Definition-Laser (HDL)" alt="pcl::HDLGrabber" shape="rect" coords="160,280,310,304"/>
<area href="classpcl_1_1_image_grabber_base.html" title="Base class for Image file grabber." alt="pcl::ImageGrabberBase" shape="rect" coords="160,336,310,360"/>
<area href="classpcl_1_1_p_c_d_grabber_base.html" title="Base class for PCD file grabber." alt="pcl::PCDGrabberBase" shape="rect" coords="160,392,310,416"/>
<area href="classpcl_1_1_real_sense_grabber.html" alt="pcl::RealSenseGrabber" shape="rect" coords="160,448,310,472"/>
<area href="classpcl_1_1_robot_eye_grabber.html" title="Grabber for the Ocular Robotics RobotEye sensor." alt="pcl::RobotEyeGrabber" shape="rect" coords="160,504,310,528"/>
<area href="classpcl_1_1_stereo_grabber_base.html" title="Base class for Stereo file grabber." alt="pcl::StereoGrabberBase" shape="rect" coords="160,560,310,584"/>
  </map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:ad1bd77c0344f3cf3283757daddb4fe9d"><td class="memItemLeft" align="right" valign="top"><a id="ad1bd77c0344f3cf3283757daddb4fe9d"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#ad1bd77c0344f3cf3283757daddb4fe9d">Grabber</a> ()</td></tr>
<tr class="memdesc:ad1bd77c0344f3cf3283757daddb4fe9d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor. <br /></td></tr>
<tr class="separator:ad1bd77c0344f3cf3283757daddb4fe9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c8545d6fe2aadc0fe8ba9643f80c1fc"><td class="memItemLeft" align="right" valign="top"><a id="a1c8545d6fe2aadc0fe8ba9643f80c1fc"></a>
virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#a1c8545d6fe2aadc0fe8ba9643f80c1fc">~Grabber</a> ()  throw ()</td></tr>
<tr class="memdesc:a1c8545d6fe2aadc0fe8ba9643f80c1fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">virtual desctructor. <br /></td></tr>
<tr class="separator:a1c8545d6fe2aadc0fe8ba9643f80c1fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35dc83ee946b0bd5d0a7cbad4df7427b"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a35dc83ee946b0bd5d0a7cbad4df7427b"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::connection&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#a35dc83ee946b0bd5d0a7cbad4df7427b">registerCallback</a> (const boost::function&lt; T &gt; &amp;callback)</td></tr>
<tr class="memdesc:a35dc83ee946b0bd5d0a7cbad4df7427b"><td class="mdescLeft">&#160;</td><td class="mdescRight">registers a callback function/method to a signal with the corresponding signature  <a href="classpcl_1_1_grabber.html#a35dc83ee946b0bd5d0a7cbad4df7427b">更多...</a><br /></td></tr>
<tr class="separator:a35dc83ee946b0bd5d0a7cbad4df7427b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed2b00928603dfd9e51cfb22adbedae6"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:aed2b00928603dfd9e51cfb22adbedae6"><td class="memTemplItemLeft" align="right" valign="top">bool&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#aed2b00928603dfd9e51cfb22adbedae6">providesCallback</a> () const</td></tr>
<tr class="memdesc:aed2b00928603dfd9e51cfb22adbedae6"><td class="mdescLeft">&#160;</td><td class="mdescRight">indicates whether a signal with given parameter-type exists or not  <a href="classpcl_1_1_grabber.html#aed2b00928603dfd9e51cfb22adbedae6">更多...</a><br /></td></tr>
<tr class="separator:aed2b00928603dfd9e51cfb22adbedae6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abdc9b2f91a0dba06a4ec2280712fd9f9"><td class="memItemLeft" align="right" valign="top"><a id="abdc9b2f91a0dba06a4ec2280712fd9f9"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#abdc9b2f91a0dba06a4ec2280712fd9f9">start</a> ()=0</td></tr>
<tr class="memdesc:abdc9b2f91a0dba06a4ec2280712fd9f9"><td class="mdescLeft">&#160;</td><td class="mdescRight">For devices that are streaming, the streams are started by calling this method. Trigger-based devices, just trigger the device once for each call of start. <br /></td></tr>
<tr class="separator:abdc9b2f91a0dba06a4ec2280712fd9f9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc79a53a861caba9cc699a7e9127b9c9"><td class="memItemLeft" align="right" valign="top"><a id="afc79a53a861caba9cc699a7e9127b9c9"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#afc79a53a861caba9cc699a7e9127b9c9">stop</a> ()=0</td></tr>
<tr class="memdesc:afc79a53a861caba9cc699a7e9127b9c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">For devices that are streaming, the streams are stopped. This method has no effect for triggered devices. <br /></td></tr>
<tr class="separator:afc79a53a861caba9cc699a7e9127b9c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5765700b48bea8865af2f90e46ea3e6"><td class="memItemLeft" align="right" valign="top">virtual std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#af5765700b48bea8865af2f90e46ea3e6">getName</a> () const =0</td></tr>
<tr class="memdesc:af5765700b48bea8865af2f90e46ea3e6"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns the name of the concrete subclass.  <a href="classpcl_1_1_grabber.html#af5765700b48bea8865af2f90e46ea3e6">更多...</a><br /></td></tr>
<tr class="separator:af5765700b48bea8865af2f90e46ea3e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae3a9df18b055d26ba339dc9fac408a7f"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#ae3a9df18b055d26ba339dc9fac408a7f">isRunning</a> () const =0</td></tr>
<tr class="memdesc:ae3a9df18b055d26ba339dc9fac408a7f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Indicates whether the grabber is streaming or not. This value is not defined for triggered devices.  <a href="classpcl_1_1_grabber.html#ae3a9df18b055d26ba339dc9fac408a7f">更多...</a><br /></td></tr>
<tr class="separator:ae3a9df18b055d26ba339dc9fac408a7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1138d8eceb226dfe00daede422a9d941"><td class="memItemLeft" align="right" valign="top"><a id="a1138d8eceb226dfe00daede422a9d941"></a>
virtual float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_grabber.html#a1138d8eceb226dfe00daede422a9d941">getFramesPerSecond</a> () const =0</td></tr>
<tr class="memdesc:a1138d8eceb226dfe00daede422a9d941"><td class="mdescLeft">&#160;</td><td class="mdescRight">returns fps. 0 if trigger based. <br /></td></tr>
<tr class="separator:a1138d8eceb226dfe00daede422a9d941"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a1eaf930e8f5bc9befdf9e7e3dd85cab3"><td class="memItemLeft" align="right" valign="top"><a id="a1eaf930e8f5bc9befdf9e7e3dd85cab3"></a>
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>signalsChanged</b> ()</td></tr>
<tr class="separator:a1eaf930e8f5bc9befdf9e7e3dd85cab3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29a1f6e6e197519b08536b6095d28ccc"><td class="memTemplParams" colspan="2"><a id="a29a1f6e6e197519b08536b6095d28ccc"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a29a1f6e6e197519b08536b6095d28ccc"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::signal&lt; T &gt; *&#160;</td><td class="memTemplItemRight" valign="bottom"><b>find_signal</b> () const</td></tr>
<tr class="separator:a29a1f6e6e197519b08536b6095d28ccc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae87e7482328a297a95396467e0e28856"><td class="memTemplParams" colspan="2"><a id="ae87e7482328a297a95396467e0e28856"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:ae87e7482328a297a95396467e0e28856"><td class="memTemplItemLeft" align="right" valign="top">int&#160;</td><td class="memTemplItemRight" valign="bottom"><b>num_slots</b> () const</td></tr>
<tr class="separator:ae87e7482328a297a95396467e0e28856"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9ade6bd29a46f6acb411a7968f99ae8"><td class="memTemplParams" colspan="2"><a id="aa9ade6bd29a46f6acb411a7968f99ae8"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:aa9ade6bd29a46f6acb411a7968f99ae8"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>disconnect_all_slots</b> ()</td></tr>
<tr class="separator:aa9ade6bd29a46f6acb411a7968f99ae8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aceece1bd68187c109b289567c33536b9"><td class="memTemplParams" colspan="2"><a id="aceece1bd68187c109b289567c33536b9"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:aceece1bd68187c109b289567c33536b9"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>block_signal</b> ()</td></tr>
<tr class="separator:aceece1bd68187c109b289567c33536b9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25c1f3c966c486be2b01fe11d2d0df5a"><td class="memTemplParams" colspan="2"><a id="a25c1f3c966c486be2b01fe11d2d0df5a"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a25c1f3c966c486be2b01fe11d2d0df5a"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><b>unblock_signal</b> ()</td></tr>
<tr class="separator:a25c1f3c966c486be2b01fe11d2d0df5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a023e6b7d7c8ebc27d59e7076162c4c73"><td class="memItemLeft" align="right" valign="top"><a id="a023e6b7d7c8ebc27d59e7076162c4c73"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>block_signals</b> ()</td></tr>
<tr class="separator:a023e6b7d7c8ebc27d59e7076162c4c73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a57fa6746fd5521b7cfe27b7847778969"><td class="memItemLeft" align="right" valign="top"><a id="a57fa6746fd5521b7cfe27b7847778969"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>unblock_signals</b> ()</td></tr>
<tr class="separator:a57fa6746fd5521b7cfe27b7847778969"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e1ee7a265cee458f59414de47a34ed2"><td class="memTemplParams" colspan="2"><a id="a3e1ee7a265cee458f59414de47a34ed2"></a>
template&lt;typename T &gt; </td></tr>
<tr class="memitem:a3e1ee7a265cee458f59414de47a34ed2"><td class="memTemplItemLeft" align="right" valign="top">boost::signals2::signal&lt; T &gt; *&#160;</td><td class="memTemplItemRight" valign="bottom"><b>createSignal</b> ()</td></tr>
<tr class="separator:a3e1ee7a265cee458f59414de47a34ed2"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a0e74a0908693c0c948452476d0102dac"><td class="memItemLeft" align="right" valign="top"><a id="a0e74a0908693c0c948452476d0102dac"></a>
std::map&lt; std::string, boost::signals2::signal_base * &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>signals_</b></td></tr>
<tr class="separator:a0e74a0908693c0c948452476d0102dac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63415b3517806c488fa840c54cacb5ad"><td class="memItemLeft" align="right" valign="top"><a id="a63415b3517806c488fa840c54cacb5ad"></a>
std::map&lt; std::string, std::vector&lt; boost::signals2::connection &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>connections_</b></td></tr>
<tr class="separator:a63415b3517806c488fa840c54cacb5ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9d8b3dcbecbe76b1f58978ed1b3a222f"><td class="memItemLeft" align="right" valign="top"><a id="a9d8b3dcbecbe76b1f58978ed1b3a222f"></a>
std::map&lt; std::string, std::vector&lt; boost::signals2::shared_connection_block &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>shared_connections_</b></td></tr>
<tr class="separator:a9d8b3dcbecbe76b1f58978ed1b3a222f"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p><a class="el" href="classpcl_1_1_grabber.html" title="Grabber interface for PCL 1.x device drivers">Grabber</a> interface for PCL 1.x device drivers </p>
<dl class="section author"><dt>作者</dt><dd>Suat Gedikli <a href="#" onclick="location.href='mai'+'lto:'+'ged'+'ik'+'li@'+'wi'+'llo'+'wg'+'ara'+'ge'+'.co'+'m'; return false;">gedik<span style="display: none;">.nosp@m.</span>li@w<span style="display: none;">.nosp@m.</span>illow<span style="display: none;">.nosp@m.</span>gara<span style="display: none;">.nosp@m.</span>ge.co<span style="display: none;">.nosp@m.</span>m</a> </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="af5765700b48bea8865af2f90e46ea3e6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5765700b48bea8865af2f90e46ea3e6">&#9670;&nbsp;</a></span>getName()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual std::string pcl::Grabber::getName </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>returns the name of the concrete subclass. </p>
<dl class="section return"><dt>返回</dt><dd>the name of the concrete driver. </dd></dl>

<p>在 <a class="el" href="classpcl_1_1_stereo_grabber_base.html#a2e815c534175d90408826952c040ef0e">pcl::StereoGrabberBase</a>, <a class="el" href="classpcl_1_1_v_l_p_grabber.html#a2d0363ee3a6d55e3afe5c700e42c60a6">pcl::VLPGrabber</a>, <a class="el" href="classpcl_1_1_robot_eye_grabber.html#ada824cda8dbcaba801a93ebab5704d74">pcl::RobotEyeGrabber</a>, <a class="el" href="classpcl_1_1_real_sense_grabber.html#a922a07c6f3e1c1b811c42fa1fd2422bb">pcl::RealSenseGrabber</a>, <a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#ae42d82f143cf15137d3ea82f1de49f3a">pcl::PCDGrabberBase</a>, <a class="el" href="classpcl_1_1_image_grabber_base.html#ad712c9794c17cf42c18c0c96a6c88c98">pcl::ImageGrabberBase</a>, <a class="el" href="classpcl_1_1_h_d_l_grabber.html#a1ea64070b784fb0ca273efae64715a92">pcl::HDLGrabber</a>, <a class="el" href="classpcl_1_1_ensenso_grabber.html#a801aec7e16af3ae34bf020d2d8e1b898">pcl::EnsensoGrabber</a>, <a class="el" href="classpcl_1_1_dinast_grabber.html#a2bea6bf1386f91023717e6b781483148">pcl::DinastGrabber</a>, <a class="el" href="classpcl_1_1_depth_sense_grabber.html#aeb9727c052eeca9a31cdfa7164e0aa87">pcl::DepthSenseGrabber</a> , 以及 <a class="el" href="classpcl_1_1_david_s_d_k_grabber.html#a4aec0b3fcf2fda4892f1f9cdaa65f7b8">pcl::DavidSDKGrabber</a> 内被实现.</p>

</div>
</div>
<a id="ae3a9df18b055d26ba339dc9fac408a7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae3a9df18b055d26ba339dc9fac408a7f">&#9670;&nbsp;</a></span>isRunning()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool pcl::Grabber::isRunning </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Indicates whether the grabber is streaming or not. This value is not defined for triggered devices. </p>
<dl class="section return"><dt>返回</dt><dd>true if grabber is running / streaming. False otherwise. </dd></dl>

<p>在 <a class="el" href="classpcl_1_1_stereo_grabber_base.html#a329f54fc3d46b17608e1771f75ad5ca9">pcl::StereoGrabberBase</a>, <a class="el" href="classpcl_1_1_robot_eye_grabber.html#a9b30bb97a44488b0075b78cc7b2e21b6">pcl::RobotEyeGrabber</a>, <a class="el" href="classpcl_1_1_real_sense_grabber.html#a3d33159677dfd031e408b9b0b627b367">pcl::RealSenseGrabber</a>, <a class="el" href="classpcl_1_1_p_c_d_grabber_base.html#ab1dc2332f1796490031bb0e2161f06b8">pcl::PCDGrabberBase</a>, <a class="el" href="classpcl_1_1_image_grabber_base.html#a4b186edc19a73af202a1aec7fabccecd">pcl::ImageGrabberBase</a>, <a class="el" href="classpcl_1_1_h_d_l_grabber.html#afb9ccf2d065ff1a29ac771cd83102e0d">pcl::HDLGrabber</a>, <a class="el" href="classpcl_1_1_ensenso_grabber.html#a11cc4775131a8a8d794fd58136799365">pcl::EnsensoGrabber</a>, <a class="el" href="classpcl_1_1_dinast_grabber.html#a24d3d6fd8a3f3d92fce222578b4d1da9">pcl::DinastGrabber</a>, <a class="el" href="classpcl_1_1_depth_sense_grabber.html#a1dc59978332175bd914d75e388169d71">pcl::DepthSenseGrabber</a> , 以及 <a class="el" href="classpcl_1_1_david_s_d_k_grabber.html#ad25d179ea002051f5bad0ce93d30f463">pcl::DavidSDKGrabber</a> 内被实现.</p>

</div>
</div>
<a id="aed2b00928603dfd9e51cfb22adbedae6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed2b00928603dfd9e51cfb22adbedae6">&#9670;&nbsp;</a></span>providesCallback()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">bool pcl::Grabber::providesCallback</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>indicates whether a signal with given parameter-type exists or not </p>
<dl class="section return"><dt>返回</dt><dd>true if signal exists, false otherwise </dd></dl>
<div class="fragment"><div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;  {</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160;    <span class="keywordflow">if</span> (signals_.find (typeid (T).name ()) == signals_.end ())</div>
<div class="line"><a name="l00267"></a><span class="lineno">  267</span>&#160;      <span class="keywordflow">return</span> (<span class="keyword">false</span>);</div>
<div class="line"><a name="l00268"></a><span class="lineno">  268</span>&#160;    <span class="keywordflow">return</span> (<span class="keyword">true</span>);</div>
<div class="line"><a name="l00269"></a><span class="lineno">  269</span>&#160;  }</div>
</div><!-- fragment -->
</div>
</div>
<a id="a35dc83ee946b0bd5d0a7cbad4df7427b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35dc83ee946b0bd5d0a7cbad4df7427b">&#9670;&nbsp;</a></span>registerCallback()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">boost::signals2::connection pcl::Grabber::registerCallback </td>
          <td>(</td>
          <td class="paramtype">const boost::function&lt; T &gt; &amp;&#160;</td>
          <td class="paramname"><em>callback</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>registers a callback function/method to a signal with the corresponding signature </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">callback</td><td>the callback function/method </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>Connection object, that can be used to disconnect the callback method from the signal again. </dd></dl>
<div class="fragment"><div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;  {</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160;    <span class="keyword">typedef</span> boost::signals2::signal&lt;T&gt; Signal;</div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;    <span class="keywordflow">if</span> (signals_.find (typeid (T).name ()) == signals_.end ())</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    {</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160;      std::stringstream sstream;</div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160; </div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;      sstream &lt;&lt; <span class="stringliteral">&quot;no callback for type:&quot;</span> &lt;&lt; <span class="keyword">typeid</span> (T).name ();</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;      <span class="comment">/*</span></div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;<span class="comment">      sstream &lt;&lt; &quot;registered Callbacks are:&quot; &lt;&lt; std::endl;</span></div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;<span class="comment">      for( std::map&lt;std::string, boost::signals2::signal_base*&gt;::const_iterator cIt = signals_.begin ();</span></div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;<span class="comment">           cIt != signals_.end (); ++cIt)</span></div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;<span class="comment">      {</span></div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;<span class="comment">        sstream &lt;&lt; cIt-&gt;first &lt;&lt; std::endl;</span></div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;<span class="comment">      }*/</span></div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160; </div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;      PCL_THROW_EXCEPTION (<a class="code" href="classpcl_1_1_i_o_exception.html">pcl::IOException</a>, <span class="stringliteral">&quot;[&quot;</span> &lt;&lt; <a class="code" href="classpcl_1_1_grabber.html#af5765700b48bea8865af2f90e46ea3e6">getName</a> () &lt;&lt; <span class="stringliteral">&quot;] &quot;</span> &lt;&lt; sstream.str ());</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160;      <span class="comment">//return (boost::signals2::connection ());</span></div>
<div class="line"><a name="l00253"></a><span class="lineno">  253</span>&#160;    }</div>
<div class="line"><a name="l00254"></a><span class="lineno">  254</span>&#160;    Signal* signal = <span class="keyword">dynamic_cast&lt;</span>Signal*<span class="keyword">&gt;</span> (signals_[<span class="keyword">typeid</span> (T).name ()]);</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;    boost::signals2::connection ret = signal-&gt;connect (callback);</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;    connections_[<span class="keyword">typeid</span> (T).name ()].push_back (ret);</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;    shared_connections_[<span class="keyword">typeid</span> (T).name ()].push_back (boost::signals2::shared_connection_block (connections_[<span class="keyword">typeid</span> (T).name ()].back (), <span class="keyword">false</span>));</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    signalsChanged ();</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;    <span class="keywordflow">return</span> (ret);</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;  }</div>
<div class="ttc" id="aclasspcl_1_1_grabber_html_af5765700b48bea8865af2f90e46ea3e6"><div class="ttname"><a href="classpcl_1_1_grabber.html#af5765700b48bea8865af2f90e46ea3e6">pcl::Grabber::getName</a></div><div class="ttdeci">virtual std::string getName() const =0</div><div class="ttdoc">returns the name of the concrete subclass.</div></div>
<div class="ttc" id="aclasspcl_1_1_i_o_exception_html"><div class="ttname"><a href="classpcl_1_1_i_o_exception.html">pcl::IOException</a></div><div class="ttdoc">An exception that is thrown during an IO error (typical read/write errors)</div><div class="ttdef"><b>Definition:</b> exceptions.h:180</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>io/include/pcl/io/<a class="el" href="grabber_8h_source.html">grabber.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_grabber.html">Grabber</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
